/*********************************************************************
	\file :           os_sw_layers\bios\gpt\Gpt_Cfg.c 
	\brief:           Contains configuration settings and structures for GPT driver.
	\author:          Manuel Sandoval
	\version:         1.0
	\date:            Sat, 01, March 2014
*********************************************************************/


/******************************* Includes**********************************/
#include "Gpt_Cfg.h"
 

/******************************* Defines **********************************/

#define	CFN_TIMER_ODD_NUM		781250		/*!< Timer odd number 781.25 us. */
#define	CFN_TIMER_EVEN_NUM		500000		/*!< Timer even number 500 us. */

/******************************* Enumerations******************************/


/******************************* Structures *******************************/


/******************************* Global Variables **********************************/

Gpt_ConfigType Mcal_Gpt_Config[] =
/*!< No of Gpt devices. */                                         /*!< Pointer to device structure. */
{(sizeof(Gpt_DeviceConfigType)/sizeof(Mcal_Gpt_DeviceConfig[0])),    Mcal_Gpt_DeviceConfig};

 
Gpt_DeviceConfigType Mcal_Gpt_DeviceConfig[] =
/*!< Pointer to PIT device configuration structure. */
{Mcal_Pit_DeviceConfig};

 
PIT_ChannelConfigType Mcal_Pit_ChannelConfig[] =
	  /*!< Time in nanoseconds. */  	/*!< Microtimer source */  		/*!< Callback function. */
 {    CFN_TIMER_EVEN_NUM,                       0,                         (SchM_OsTick)};

 
PIT_DeviceConfigType Mcal_Pit_DeviceConfig[] =
 /*!< Number of PIT Channels. */                                       /*!< Micro timer source configuration 1. */    /*!< Micro timer source configuration 2. */   /*!< Pointer to PIT Channel Configuration. */
 {    sizeof(Mcal_Pit_ChannelConfig)/sizeof(Mcal_Pit_ChannelConfig[0]),       2,                                             1,                                            Mcal_Pit_ChannelConfig};


/******************************* Functions ********************************/



/** @} *//* End of Gpt configuration Group */

/*********************************************************************
	File	: os_sw_layers\bios\gpt\Gpt_Cfg.c 
*********************************************************************/
